import request from "@/utils/request";

const api_name = "/admin/system/Category"
export const getCateListByParentId = (id)=>{
    return request({
        url : `${api_name}/getCategoryListByParentId/${id}`,
        method :"get"
    });
}

export const exportExcel = () =>{
    return request({
        url:`${api_name}/exportExcel`,
        method:"GET",
        responseType:"blob"
    })
}